<template>
  <a-watermark content="" :disabled="false">
    <left-menu-layout v-if="layout === 'left'" key="leftmenu-layout">
      <slot />
    </left-menu-layout>
    <basic-layout v-else key="basic-layout"><slot /></basic-layout>
  </a-watermark>
</template>

<script lang="ts" setup>
import BasicLayout from './basic-layout.vue';
import LeftMenuLayout from './leftmenu-layout.vue';
import { injectMenuState } from './use-menu-state';
const { layout } = injectMenuState();
</script>
